package fun.boomcat.luckyhe.mirai.plugin.botcontrol.pojo;

import java.util.List;
import java.util.Map;

/**
 * @author Lucky_He
 * @date 2021年8月25日 23:01
 * @description Config
 */
public class Config {
    private long ownerQQ;
    private Map<String, Boolean> events;
    private List<Long> groupsForGroupMessageEvent;

    public long getOwnerQQ() {
        return ownerQQ;
    }

    public void setOwnerQQ(long ownerQQ) {
        this.ownerQQ = ownerQQ;
    }

    public Map<String, Boolean> getEvents() {
        return events;
    }

    public void setEvents(Map<String, Boolean> events) {
        this.events = events;
    }

    public List<Long> getGroupsForGroupMessageEvent() {
        return groupsForGroupMessageEvent;
    }

    public void setGroupsForGroupMessageEvent(List<Long> groupsForGroupMessageEvent) {
        this.groupsForGroupMessageEvent = groupsForGroupMessageEvent;
    }

    @Override
    public String toString() {
        return "Config{" +
                "ownerQQ=" + ownerQQ +
                ", events=" + events +
                ", groupsForGroupMessageEvent=" + groupsForGroupMessageEvent +
                '}';
    }

    public Config() {
    }

    public Config(long ownerQQ, Map<String, Boolean> events, List<Long> groupsForGroupMessageEvent) {
        this.ownerQQ = ownerQQ;
        this.events = events;
        this.groupsForGroupMessageEvent = groupsForGroupMessageEvent;
    }
}